﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000A85 RID: 2693
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class LobbyKickOutScRsp : IMessage<LobbyKickOutScRsp>, IMessage, IEquatable<LobbyKickOutScRsp>, IDeepCloneable<LobbyKickOutScRsp>, IBufferMessage
	{
		// Token: 0x17002202 RID: 8706
		// (get) Token: 0x06007886 RID: 30854 RVA: 0x00141FB8 File Offset: 0x001401B8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<LobbyKickOutScRsp> Parser
		{
			get
			{
				return LobbyKickOutScRsp._parser;
			}
		}

		// Token: 0x17002203 RID: 8707
		// (get) Token: 0x06007887 RID: 30855 RVA: 0x00141FBF File Offset: 0x001401BF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return LobbyKickOutScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002204 RID: 8708
		// (get) Token: 0x06007888 RID: 30856 RVA: 0x00141FD1 File Offset: 0x001401D1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return LobbyKickOutScRsp.Descriptor;
			}
		}

		// Token: 0x06007889 RID: 30857 RVA: 0x00141FD8 File Offset: 0x001401D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LobbyKickOutScRsp()
		{
		}

		// Token: 0x0600788A RID: 30858 RVA: 0x00141FE0 File Offset: 0x001401E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LobbyKickOutScRsp(LobbyKickOutScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600788B RID: 30859 RVA: 0x00142005 File Offset: 0x00140205
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public LobbyKickOutScRsp Clone()
		{
			return new LobbyKickOutScRsp(this);
		}

		// Token: 0x17002205 RID: 8709
		// (get) Token: 0x0600788C RID: 30860 RVA: 0x0014200D File Offset: 0x0014020D
		// (set) Token: 0x0600788D RID: 30861 RVA: 0x00142015 File Offset: 0x00140215
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600788E RID: 30862 RVA: 0x0014201E File Offset: 0x0014021E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as LobbyKickOutScRsp);
		}

		// Token: 0x0600788F RID: 30863 RVA: 0x0014202C File Offset: 0x0014022C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(LobbyKickOutScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007890 RID: 30864 RVA: 0x0014205C File Offset: 0x0014025C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007891 RID: 30865 RVA: 0x0014209B File Offset: 0x0014029B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007892 RID: 30866 RVA: 0x001420A3 File Offset: 0x001402A3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007893 RID: 30867 RVA: 0x001420AC File Offset: 0x001402AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007894 RID: 30868 RVA: 0x001420E0 File Offset: 0x001402E0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007895 RID: 30869 RVA: 0x0014211E File Offset: 0x0014031E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(LobbyKickOutScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007896 RID: 30870 RVA: 0x0014214F File Offset: 0x0014034F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007897 RID: 30871 RVA: 0x00142158 File Offset: 0x00140358
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 40U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002E1C RID: 11804
		private static readonly MessageParser<LobbyKickOutScRsp> _parser = new MessageParser<LobbyKickOutScRsp>(() => new LobbyKickOutScRsp());

		// Token: 0x04002E1D RID: 11805
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002E1E RID: 11806
		public const int RetcodeFieldNumber = 5;

		// Token: 0x04002E1F RID: 11807
		private uint retcode_;
	}
}
